package com.education.welco.pojo;

//import com.baomidou.mybatisplus.annotation.TableField;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * (用户资源收藏支付)表 sys_source_pay
 *
 * @author d
 * @date 2021-09-08
 */
@Data
public class SysSourcePay implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "用户id主键")
    //@TableField(value = "c_user_id")
    @JsonProperty(value = "cUserId")
    private Integer cUserId;

    @ApiModelProperty(value = "资源主键编码(课程、试题)")
    //@TableField(value = "c_resource_id")
    @JsonProperty(value = "cResourceId")
    private Integer cResourceId;

    @ApiModelProperty(value = "资源类型 1 课程 2 试题")
    //@TableField(value = "c_resource_type")
    @JsonProperty(value = "cResourceType")
    private String cResourceType;

    @ApiModelProperty(value = "是否支付")
    //@TableField(value = "n_is_pay")
    @JsonProperty(value = "nIsPay")
    private Integer nIsPay;

    @ApiModelProperty(value = "支付金额")
    //@TableField(value = "n_pay_money")
    @JsonProperty(value = "nPayMoney")
    private BigDecimal nPayMoney;

    @ApiModelProperty(value = "是否收藏")
    //@TableField(value = "n_is_collection")
    @JsonProperty(value = "nIsCollection")
    private Integer nIsCollection;

    @ApiModelProperty(value = "是否分享")
    //@TableField(value = "n_is_share")
    @JsonProperty(value = "nIsShare")
    private Integer nIsShare;

    @ApiModelProperty(value = "分享次数")
    //@TableField(value = "n_share_tms")
    @JsonProperty(value = "nShareTms")
    private Integer nShareTms;

    @ApiModelProperty(value = "支付内容说明")
    //@TableField(value = "c_remark")
    @JsonProperty(value = "cRemark")
    private String cRemark;

    @ApiModelProperty(value = "预留字段")
    //@TableField(value = "c_text_1")
    @JsonProperty(value = "cText1")
    private String cText1;

    @ApiModelProperty(value = "预留字段")
    //@TableField(value = "c_text_2")
    @JsonProperty(value = "cText2")
    private String cText2;

    @ApiModelProperty(value = "创建者")
    //@TableField(value = "c_create_by")
    @JsonProperty(value = "cCreateBy")
    private String cCreateBy;

    @ApiModelProperty(value = "创建时间")
    //@TableField(value = "t_create_time")
    @JsonProperty(value = "tCreateTime")
    private Date tCreateTime;

    @ApiModelProperty(value = "更新者")
    //@TableField(value = "c_update_by")
    @JsonProperty(value = "cUpdateBy")
    private String cUpdateBy;

    @ApiModelProperty(value = "更新时间")
    //@TableField(value = "t_update_time")
    @JsonProperty(value = "tUpdateTime")
    private Date tUpdateTime;

    /**
     * 分页参数
     */
    //@TableField(exist = false)
    private Integer pageNum = 0;

    //@TableField(exist = false)
    private Integer pageSize = 10;

    //@TableField(exist = false,value = "c_catalog_name")
    @JsonProperty("cCatalogName")
    private String cCatalogName;

    //@TableField(exist = false,value = "c_catalog_name")
    @JsonProperty("parentCatalogName")
    private String parentCatalogName;

    //@TableField(exist = false,value = "c_question_name")
    @JsonProperty("cQuestionName")
    private String cQuestionName;


    public String getcCatalogName() {
        return cCatalogName;
    }

    public void setcCatalogName(String cCatalogName) {
        this.cCatalogName = cCatalogName;
    }

    public String getParentCatalogName() {
        return parentCatalogName;
    }

    public void setParentCatalogName(String parentCatalogName) {
        this.parentCatalogName = parentCatalogName;
    }

    public String getcQuestionName() {
        return cQuestionName;
    }

    public void setcQuestionName(String cQuestionName) {
        this.cQuestionName = cQuestionName;
    }

    private String cIntroduction;

    private String cViewPre;//学习进度
    private Integer userTestCount;//测评次数

    public String getcIntroduction() {
        return cIntroduction;
    }

    public void setcIntroduction(String cIntroduction) {
        this.cIntroduction = cIntroduction;
    }

    public String getcViewPre() {
        return cViewPre;
    }

    public void setcViewPre(String cViewPre) {
        this.cViewPre = cViewPre;
    }

    public Integer getUserTestCount() {
        return userTestCount;
    }

    public void setUserTestCount(Integer userTestCount) {
        this.userTestCount = userTestCount;
    }
}